package com.bywlkjs.bygo.wechat.applet.spring.boot;

import com.bywlkjs.bygo.wechat.applet.spring.boot.config.WechatAppletConfig;
import com.bywlkjs.bygo.wechat.applet.spring.boot.entity.AppletUserInfoEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class TestController {

    @Resource
    AppletUserInfoEntity.PhoneNumberResult phoneNumberResult;
//    AppletUserInfoEntity.UserInfoResult userInfoResult;

    @GetMapping("/a")
    public void ss(AppletUserInfoEntity.Param param){
        System.out.println(param);
        System.out.println("userInfoResult = " +phoneNumberResult.analysis(param));
    }
}
